package com.song.boot.springstudy.myspring.customcontext;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

// 标记这是一个配置类
@Configuration
// 指定需要扫描的包（自动发现 @Component、@Service 等注解的类）
@ComponentScan(basePackages = "com.song.boot.springstudy.myspring.customcontext")
public class AppConfig {

}